z = 3.14
print('Output 1')
print(z)
print(type(z))


z = 3.14j
print('Output 2')
print(z)
print(type(z))

z = 3.14 + 0j
print('Output 3')
print(z)
print(type(z))

z = 3 + 2j
print('Output 4')
print(z)
print(type(z))

z = 3 + 2
print('Output 5')
print(z)
print(type(z))

z = 3.14 + 2.71j
print('Output 6')
print(z)
print(type(z))


z = 2 + 3j + 4 + 5j
print('Output 7')
print(z)
print(type(z))


z = complex(3, 2)
print('Output 8')
print(z)
print(type(z))


z = complex(3.14, 2.71)
print('Output 9')
print(z)
print(type(z))

z = complex("3+2j")
print('Output 10')
print(z)
print(type(z))

z = complex("3 + 2j")  #wrong, do not use space
print('Output 11')
print(z)
print(type(z))
